#pragma once
#include "editsession.h"
#include "CandidateWindow.h"

class CGetTextExtentEditSession :
	public CEditSessionBase
{
public:
	CGetTextExtentEditSession(CTextService *pTextService, ITfContext *pContext, ITfContextView *pContextView, ITfRange *pRangeComposition, CCandidateWindow *pCandidateWindow);
	~CGetTextExtentEditSession(void);
	// ITfEditSession
    STDMETHODIMP DoEditSession(TfEditCookie ec);

private:
    ITfContextView *_pContextView;
    ITfRange *_pRangeComposition;
    CCandidateWindow *_pCandidateWindow;
};

